package qf.com.service.impl;

import qf.com.dao.UserDao;
import qf.com.dao.impl.Userdao;
import qf.com.domain.Profile;
import qf.com.service.UserService;

public class UserServiceimpl implements UserService {
    UserDao userDao = new Userdao();
    @Override
    public int zhuce(String yonghu, String mima) {

        return userDao.jiayonghu(yonghu,mima);
    }

    @Override
    public Profile chazhao(String yonghuming) {

        return userDao.chazaho(yonghuming);
    }
}
